for i in open("result_chuli.lst","r",encoding = "utf-8"):
    front,latter,conf = i.split("\t")
    if front.find("L1") != -1:
        continue
    flag = 0
    for j in latter.split(","):
        if j.find("L1") == -1:
            flag = 1
            continue
    if flag == 1:
        continue
    with open("result_new.lst","a") as f:
        f.write(i)